const toFileOrderItem = (name: string, content: string) => {
    return {name, content}
}

/**
 * 文件排序字段
 * 第一个是默认排序
 */
export const FileOrderItems = [
    toFileOrderItem("文件类型", "contentType"),
    toFileOrderItem("名字", "name"),
    toFileOrderItem("大小", "size"),
    toFileOrderItem("最近更新时间", "lastUpdateTime"),
]

/**
 * 响应式宽度断点
 */
export const BreakPoints = {
    small: 480,
    middle: 800,
    large: 1200,
}
